<?php /* Smarty version Smarty-3.1.8, created on 2012-06-13 00:45:21
         compiled from "tmpl/company2/list.html" */ ?>
<?php /*%%SmartyHeaderCode:11013267104fd83126b04435-49536993%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6d61a8d9ecf49ecbb981ee835cb373abd54b8f1a' => 
    array (
      0 => 'tmpl/company2/list.html',
      1 => 1339573517,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11013267104fd83126b04435-49536993',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fd83126dd6f35_65376396',
  'variables' => 
  array (
    'list' => 0,
    'col' => 0,
    'pagefooter' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd83126dd6f35_65376396')) {function content_4fd83126dd6f35_65376396($_smarty_tpl) {?><html>
<head>
  <title>company2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="static/global.css" rel="stylesheet">
<script type="text/javascript" src="static/jquery.min.js"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000">

<h2>List</h2>
<a href="company2_add.php">Add</a><br>
<table border=1>
<tr>
<th>id</th>
<th>path</th>
<th>template_id</th>
<th>title</th>
<th>title_en</th>
<th>email</th>
<th>telephone</th>
<th>address</th>

<th>Detail</th>
</tr>
  
<?php  $_smarty_tpl->tpl_vars['col'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['col']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['col']->key => $_smarty_tpl->tpl_vars['col']->value){
$_smarty_tpl->tpl_vars['col']->_loop = true;
?>
<tr>
<td><a href=company2_detail.php?id=<?php echo $_smarty_tpl->tpl_vars['col']->value['id'];?>
><?php echo $_smarty_tpl->tpl_vars['col']->value['id'];?>
</a></td>
<td><a target=_blank href=http://mim1314.com/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['path'], ENT_QUOTES, 'UTF-8', true);?>
><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['path'], ENT_QUOTES, 'UTF-8', true);?>
</a></td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['template_id'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['title_en'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['email'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['telephone'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['address'], ENT_QUOTES, 'UTF-8', true);?>
</td>

<td>
  <a href="company2_edit.php?id=<?php echo $_smarty_tpl->tpl_vars['col']->value['id'];?>
">Edit</a>
  </td>
</tr>
<?php } ?>
</table>

<?php echo $_smarty_tpl->tpl_vars['pagefooter']->value;?>


</body>
</html>
<?php }} ?>